bitkeeper revision 1.1572 (4296dbecanEyZdOxxZEuQ7szhriF5g)
authorleendert@watson.ibm.com[kaf24] <leendert@watson.ibm.com[kaf24]>
Fri, 27 May 2005 08:35:56 +0000 (08:35 +0000)
committerleendert@watson.ibm.com[kaf24] <leendert@watson.ibm.com[kaf24]>
Fri, 27 May 2005 08:35:56 +0000 (08:35 +0000)
[PATCH] [PATCH] (missing) More accurate address decoding for

This patch works a lot better when you have all the modified files.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
xen/arch/x86/vmx_platform.c
xen/include/asm-x86/vmx_vmcs.h

index 14ef2d2d24fa304b1e0a2f62783139fd4fdb6bad..96ff7188d6c02d202e721290c81f430dc9c6fd2d 100644 (file)
@@ -406,7 +406,7 @@ static int vmx_decode(const unsigned char *inst, struct instruction *thread_inst
     return DECODE_failure;
 }
 
-static int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len)
+int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len)
 {
     l1_pgentry_t gpte;
     unsigned long mfn;
index 5fe27f002e71766fba8888ffcdb21cebdab5bf4e..70a9c34594d0893d121572e2ff1d23407a25ff26 100644 (file)
@@ -146,6 +146,7 @@ enum vmcs_field {
     CR3_TARGET_VALUES               = 0x00006008, 
     CR3_GUEST_HOST_MASK             = 0x00006208,
     EXIT_QUALIFICATION              = 0x00006400,
+    GUEST_LINEAR_ADDRESS           = 0x0000640A,
     GUEST_CR0                       = 0x00006800,
     GUEST_CR3                       = 0x00006802,
     GUEST_CR4                       = 0x00006804,